package com.natalia.file.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author yang
 **/
@Data
@ApiModel(value = "上传分片请求参数", description = "上传分片请求参数")
public class UploadPartRequest {

    /**
     * 文件名称
     */
    @ApiParam(value = "文件名称", required = true)
    String fileName;

    /**
     * 文件分片上传的标识
     */
    @ApiParam(value = "文件分片上传的标识", required = true)
    String uploadId;

    /**
     * 当前第几片
     */
    @ApiParam(value = "当前第几片", required = true)
    Integer partNumber;

    /**
     * 文件
     */
    @ApiParam(value = "文件", required = true)
    MultipartFile file;


}
